﻿
namespace IDEAMS.model.setting
{
    public class ThresholdSetting
    {
        /// <summary>
        /// 阈值范围
        /// </summary>
        public double fullThreshold {  get; set; }
        /// <summary>
        /// 相邻点阈值
        /// </summary>
        public double adjoinThreshold { get; set; }

        public ThresholdSetting() { }

        public ThresholdSetting(ThresholdSetting setting)
        {
            fullThreshold = setting.fullThreshold;
            adjoinThreshold = setting.adjoinThreshold;
        }

        public ThresholdSetting(ThresholdSettingViewModel setting)
        {
            fullThreshold = setting.fullThreshold;
            adjoinThreshold = setting.adjoinThreshold;
        }

        public ThresholdSetting Clone()
        {
            return new ThresholdSetting(this);
        }
    }
}
